function multipleSelectProblemInfo(data){
		
			 var selarray = data.pageInfo.itemType;
		var sumNum = 0;
		var flag = false;
		for(var i = 0; i<selarray.length;i++){
			if(selarray[i].itemTypeName == "QETT01" && data.pageInfo.multipleSelectProblemInfo != null && data.pageInfo.multipleSelectProblemInfo.length > 0){
				sumNum = selarray[i].sumNum;
				flag = true;
			}
		}
		$("#testQuestions").append(
			 	'<div class="infoTitle">意见建议</div>'+								
			 	'<div class="infoContent">'+
			 	'<table width="100%" border="0" cellspacing="0" cellpadding="0" class="infoTable" id="multipleSelectProblemInfo">'+
			 	'</table>'+
			 	'</div>'				
			 );
		if(!flag){
			return;
		}
			 /*$("#testQuestions").append(
			 	'<div class="infoTitle">意见建议</div>'+								
			 	'<div class="infoContent">'+
			 	'<table width="100%" border="0" cellspacing="0" cellpadding="0" class="infoTable" id="multipleSelectProblemInfo">'+
			 	'</table>'+
			 	'</div>'				
			 );*/
			 $.each(data.pageInfo.multipleSelectProblemInfo, function(i, problem){
	            var number = i + 1;
	            var isMust="必填";
	            /*if(problem.isMust==1)
	            	isMust="必填";
	            else
	            	isMust="选填";*/
	            $("#multipleSelectProblemInfo").append(
					'<tr>'+
//          				'<th style="font-size:75%;">'+
          				'<th>'+
          						'&nbsp;' + problem.itemTitle +
              					'<input type="hidden" isMust='+ isMust +' name="pdt_multiple_item'+ number +'" value="'+ problem.itemId +'"/>'+
						'</th>'+
        			'</tr>'
        		); 
				$.each(problem.itemOption, function(i, option){
					var selected="";
					if(option.isSelect)
					{
						selected=' checked="checked" ';
					}
					var clickfun='';
					if(option.objectiveTopic==1){
						clickfun=' onclick="multipleTextarea(this)" ';
					}
					$("#multipleSelectProblemInfo").append(
						'<tr>'+
							'<td><input type="checkbox" name="pdt_multiple'+ number +'" value="'+ option.optionNum +'" objectiveTopic="'+option.objectiveTopic+'" ' + selected + clickfun +'/>'+
          					option.option +'</td>'+
        				'</tr>'
					);
					if(option.objectiveTopic==1){
						if(option.isSelect){
							$("#multipleSelectProblemInfo").append('<tr style="display:table-row;"><td><textarea name="textarea" class="textArea">'+(option.optionAnswer==null?'':option.optionAnswer)+'</textarea></td></tr>');
						}else{
							$("#multipleSelectProblemInfo").append('<tr style="display:none;"><td><textarea name="textarea" class="textArea">'+(option.optionAnswer==null?'':option.optionAnswer)+'</textarea></td></tr>');
						}
					}
				});
			});
        }
function multipleTextarea(check){
	if($(check).prop("checked")){
		$(check).closest("tr").next("tr").css("display","table-row");
	}else{
		$(check).closest("tr").next("tr").css("display","none");
	}
}



